FROM openjdk:8-jdk-alpine
VOLUME /mydata/gulimall
COPY ./gulimall.sh /mydata/gulimall/gulimall.sh

COPY ./gulimall-auth/target/gulimall_auth.jar /mydata/gulimall/gulimall_auth.jar
COPY ./gulimall-coupon/target/gulimall_coupon.jar /mydata/gulimall/gulimall_coupon.jar
COPY ./gulimall-member/target/gulimall_member.jar /mydata/gulimall/gulimall_member.jar
COPY ./gulimall-order/target/gulimall_order.jar /mydata/gulimall/gulimall_order.jar
COPY ./gulimall-product/target/gulimall_product.jar /mydata/gulimall/gulimall_product.jar
COPY ./gulimall-ware/target/gulimall_ware.jar /mydata/gulimall/gulimall_ware.jar
COPY ./renren-fast/target/renren_fast.jar /mydata/gulimall/renren_fast.jar
COPY ./renren-generator/target/renren_generator.jar /mydata/gulimall/renren_generator.jar
COPY ./gulimall-cart/target/gulimall_cart.jar /mydata/gulimall/gulimall_cart.jar
COPY ./gulimall-third-party/target/gulimall_third_party.jar /mydata/gulimall/gulimall_third_party.jar
COPY ./gulimall-search/target/gulimall_search.jar /mydata/gulimall/gulimall_search.jar
COPY ./gulimall-cart/target/gulimall_cart.jar /mydata/gulimall/gulimall_cart.jar
COPY ./gulimall-seckill/target/gulimall_seckill.jar /mydata/gulimall/gulimall_seckill.jar
ENTRYPOINT ["./mydata/gulimall/gulimall.sh"]